package response

import "time"

type PlanItem struct {
	Type      string    `json:"type"`
	Name      string    `json:"name"`
	Current   uint      `json:"current"`
	Target    uint      `json:"target"`
	Percent   int       `json:"percent"`
	StartTime time.Time `json:"startTime"`
	EndTime   time.Time `json:"endTime"`
	Active    bool      `json:"active"`
}

type TargetPlanSummary struct {
	Items []PlanItem `json:"items"`
}

type TargetPlanDetail struct {
	Type      string    `json:"type"`
	Name      string    `json:"name"`
	Current   uint      `json:"current"`
	Target    uint      `json:"target"`
	Percent   int       `json:"percent"`
	StartTime time.Time `json:"startTime"`
	EndTime   time.Time `json:"endTime"`
}
